package com.lanchetech.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用户标签
 */
@ApiModel(value = "com-lanchetech-entity-UserTag")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserTag implements Serializable {
    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private Long userId;

    /**
     * 类型 0 逛逛生活 1 商品
     */
    @ApiModelProperty(value = "类型 0 逛逛生活 1 商品")
    private Byte type;

    /**
     * 标签权重
     */
    @ApiModelProperty(value = "标签权重")
    private Integer weight;

    /**
     * 关联编号（一级标签或一级后台类目）
     */
    @ApiModelProperty(value = "关联编号（一级标签或一级后台类目）")
    private Long relateId;

    /**
     * 标签名称
     */
    @ApiModelProperty(value = "标签名称")
    private String tagName;

    /**
     * 搜索关键词
     */
    @ApiModelProperty(value = "搜索关键词")
    private String search;

    private static final long serialVersionUID = 1L;
}